package com.aplink.generic.dialog;

import java.io.Serializable;

import android.text.TextUtils;

public class DialogInfo implements Serializable {
	private static final long serialVersionUID = -223531764421323938L;
	private boolean isFormatHTML;
	private String mCompareColumn;
	private int mIcon;
	private String mInputText;
	private DialogButton mNegativeButton;
	private DialogButton mNeutralButton;
	private DialogButton mPositiveButton;
	private String mText;
	private String mTitle;
	
	public String getCompareColumn() {
		return mCompareColumn;
	}

	public int getIcon() {
		return this.mIcon;
	}

	public String getInputText() {
		return mInputText;
	}

	public DialogButton getNegativeButton() {
		return this.mNegativeButton;
	}

	public DialogButton getNeutralButton() {
		return this.mNeutralButton;
	}

	public DialogButton getPositiveButton() {
		return this.mPositiveButton;
	}

	public String getText() {
		return this.mText;
	}

	public String getTitle() {
		return this.mTitle;
	}

	public boolean hasInputText() {
		return !TextUtils.isEmpty(mInputText);
	}

	public boolean isFormatHTML() {
		return this.isFormatHTML;
	}

	public void setCompareColumn(String compareColumn) {
		mCompareColumn = compareColumn;
	}

	public void setFormatHTML(final boolean isFormatHTML) {
		this.isFormatHTML = isFormatHTML;
	}

	public void setIcon(final int icon) {
		this.mIcon = icon;
	}

	public void setInputText(String inputText) {
		mInputText = inputText;
	}

	public void setNegativeButton(final DialogButton negativeButton) {
		this.mNegativeButton = negativeButton;
	}

	public void setNeutralButton(final DialogButton neutralButton) {
		this.mNeutralButton = neutralButton;
	}

	public void setPositiveButton(final DialogButton positiveButton) {
		this.mPositiveButton = positiveButton;
	}

	public void setText(final String message) {
		this.mText = message;
	}

	public void setTitle(final String title) {
		this.mTitle = title;
	}

}
